<?php


namespace App\Controller\Cooperative;


use App\Controller\AbstractController;
use App\Service\Cooperative\TaskPushService;
use Hyperf\Di\Annotation\Inject;

class TaskPushController extends AbstractController
{


    /**
     * @Inject()
     * @var TaskPushService
     */
    protected $taskPushService;

    public function index()
    {
        $where = $this->request->query();
        $index = $this->taskPushService->index($where);
        return $this->response->success($index);
    }
}